package indi.zhifa.recipe.bailan.framework.auth.entity.vo;

import indi.zhifa.recipe.bailan.framework.auth.entity.dto.TokenAuthNodeDto;
import indi.zhifa.recipe.bailan.framework.auth.entity.po.BaseUserEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class BaseLoginInfoVo{
    @Schema(title = "用户数据")
    protected BaseUserEntity userEntity;

    @Schema(title = "角色")
    protected List<String> roles;

    @Schema(title = "部门信息")
    protected Map<String, TokenAuthNodeDto> departmentInfo;

    @Schema(title = "token字符串")
    protected String token;
}
